package com.example.cdpbookstore.dao;

import com.example.cdpbookstore.pojo.entity.Order;

import java.util.List;

public interface OrderDao {
    /**
     * 保存订单
     */
    boolean save(Order order);

    /**
     * 根据顾客 ID 查询订单 List
     */
    List<Order> listByCustomerId(String customerId);

    boolean removeById(String id);
}
